package com.gym.Annotation;
/**
 * 模拟控制器
 * @author Administrator
 *
 */
@Controller("indexController")
@RequestMapping("/index")
public class IndexController {
	@Controller("張三")
	private String name;
	@RequestMapping("/index.do")
	public void index(){
		System.out.println("index方法");
	}
	
	public void say(){
		System.err.println("test");
	}
}
